﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Septagon.TwochConnecter.Data.Responses;
using Septagon.TwochConnecter.Data.Threads;

namespace Septagon.TwochConnecter.Data.Bbses
{
	internal class JbbsConfig : IBbsConfig
	{
		public Func<string, Res> AnalysisFunction
		{
			get
			{
				return new Func<string, Res>(x => new Res());
			}
		}


		public Regex AnalysisRegex
		{
			get
			{
				throw new NotImplementedException();
			}
		}

		public Regex AnalysisThreadListRegex
		{
			get
			{
				throw new NotImplementedException();
			}
		}

		public Func<string, ThreadCollection> AnalysisThreadListFunction
		{
			get
			{
				return new Func<string, ThreadCollection>(res => new ThreadCollection());
			}
		}

		public string BbsTopPageUrl
		{
			get
			{
				return "http://jbbs.shitaraba.net/";
			}
		}

		public bool IsRegexResAnalysis
		{
			get
			{
				return false;
			}
		}

		public bool IsRegexThreadAnalysis
		{
			get
			{
				return false;
			}
		}

		public string LocalRulePageUrl
		{
			get
			{
				throw new NotImplementedException();
			}
		}

		public string SettingTxtPath
		{
			get
			{
				throw new NotImplementedException();
			}
		}

		public string ThreadListReadBaseUrl
		{
			get
			{
				return "http://jbbs.shitaraba.net/bbs/rawmode.cgi/{category}/{folder}/{key}/";
			}
		}

		public string ThreadReadBaseUrl
		{
			get
			{
				return "http://jbbs.shitaraba.net/{category}/{folder}/subject.txt";
			}
		}

	}
}
